home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGNG_C
/
CUG187.LZH
/
ERROR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1985-12-30
|
735b
|
23 lines
/*@*****************************************************/
/*@ */
/*@ error - output two strings and exit abnormally. */
/*@ Any CR/LFs must be in the strings. */
/*@ error() exits with ERRORLEVEL = 1. */
/*@ */
/*@ Usage: error(s1, s2); */
/*@ where s1 and s2 are strings to be displayed */
/*@ on STDOUT. */
/*@ */
/*@*****************************************************/
error(s1, s2)
char *s1, *s2;
{
puts(s1);
puts(s2);
exit(1);
}